-
Notifications
You must be signed in to change notification settings - Fork 8
Feat: support pressure task #395
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat: support pressure task #395
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #395 +/- ##
==========================================
- Coverage 65.13% 64.89% -0.24%
==========================================
Files 35 35
Lines 1635 1641 +6
Branches 201 202 +1
==========================================
Hits 1065 1065
- Misses 526 532 +6
Partials 44 44 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Adds a new “pressure” calculator task to evaluate LAM volume predictions under elevated pressure using a downsampled dataset from Loew et al. (2026).
Changes:
- Introduces a new
pressurecalculator task implementation and wires it intoASEModel.evaluate. - Adds task configuration (test data path + relaxation params) and includes the task in post-processing/metrics configs.
- Extends results metadata + documentation to describe the new benchmark task.
Reviewed changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 7 comments.
Show a summary per file
| File | Description |
|---|---|
| lambench/tasks/calculator/pressure/pressure.py | Implements the pressure-volume evaluation by relaxing structures under target pressure and comparing per-atom volumes. |
| lambench/tasks/calculator/calculator_tasks.yml | Registers the new pressure task and its parameters (fmax/max_steps). |
| lambench/models/ase_models.py | Routes task_name == "pressure" to the new inference implementation. |
| lambench/metrics/results/metadata.json | Adds display/description/metric metadata for the new task. |
| lambench/metrics/results/README.md | Updates the changelog-style “Updates” section to mention the new task. |
| lambench/metrics/post_process.py | Includes pressure in domain-specific results aggregation. |
| lambench/metrics/downstream_tasks_metrics.yml | Adds scoring config entry for pressure (MAE + dummy baseline). |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This PR support a downsampled test from
Antoine Loew et al 2026 J. Phys. Mater. 9 015010 Universal machine learning potentials under pressure